﻿<script type="text/javascript" src="__PUBLIC__/admin/js/common-1.0.js"></script>
<div class="cl pd-5 bg-1 bk-gray mb-10">
  <span class="r">共有数据：<strong>{$rows}</strong> 条</span>
</div>
<table id="xctable" class="table table-border table-bordered table-hover table-bg table-sort">
  <thead>
    <tr class="text-c">
      <!--<th width="25"><input type="checkbox" name="" value=""></th>-->
      <th width="30">编号</th>
      <th width="120" id="ic_batch" onClick="tab_sort(this)"><div class="">流水号</div></th>
      <th width="80" id="ic_uid" onClick="tab_sort(this)"><div class="">会员编号</div></th>
      <th id="ic_bank" onClick="tab_sort(this)"><div class="">账户信息</div></th>
      <th width="70" id="ic_money" onClick="tab_sort(this)"><div class="">提现金额</div></th>
      <th width="50" id="ic_fei" onClick="tab_sort(this)"><div class="">手续费</div></th>
      <th width="70" id="ic_amount" onClick="tab_sort(this)"><div class="">实际到账</div></th>
      <th width="120" id="ic_atime" onClick="tab_sort(this)"><div class="">申请时间</div></th>
      <th width="70" id="ic_state" onClick="tab_sort(this)"><div class="">状态</div></th>
      <th width="80">操作</th>
    </tr>
  </thead>
  <volist name="list" id="vo" >
  <tr class="text-c">
    <td>{$i}</td>
    <td>{$vo.ic_batch}</td>
    <td>{$vo.ic_uid}</td>
    <td style="text-align:left">
        {$vo[bank][ba_name]}<br/>{$vo[bank][ba_card]}<br/>{$vo[bank][ba_uname]}<br/>
        <neq name='vo.ca_remark' value=''><span style="color:#f00">{$vo.ca_remark}</span></neq>
    </td>
    <td>{$vo.ic_money}</td>
    <td>{$vo.ic_fei}</td>
    <td>{$vo.ic_amount}</td>
    <td>{$vo.ic_atime|date='Y.m.d H:i',###}</td>
    <td><switch name='vo.ic_state'>
      <case value='1'><span class="label label-success radius">已完成</span></case>
      <case value='2'><span class="label label-warning radius">已拒绝</span></case>
      <case value='3'><span class="label label-primary radius">审核中</span></case>
    </switch></td>
    <td >
      <if condition="($vo.ic_state eq 3)" >
        <a title="审核" onClick="cash_conf('{$vo.ic_id}','审核','1')" style="text-decoration: none;color: #666">审核</a>
        <a title="拒绝" onClick="cash_conf('{$vo.ic_id}','拒绝','2')" style="text-decoration: none;color: #666">拒绝</a>
      </if>
    </td>
  </tr>
  </volist>
</table>
{$page}<!-- 分页-->
<script type="text/javascript">
$(".pagination a").click(function(){
	var page = $(this).data('p');
	ajax_get_table('myfrom1',page);
});
</script>